﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VectorHelper
{
    /// <summary>
    /// 向量类
    /// </summary>
    public class Vector
    {
        private float _x; //x
        private float _y; //y  

        public float X { get { return _x; } set { _x = value; } }

        public float Y { get { return _y; } set { _y = value; } }


        public Vector(float x, float y)
        { 
            _x = x;
            _y = y;
        }
 
    }
}
